style.scss 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585
  1. .crew-detail {
  2. &__header {
  3. display: flex;
  4. align-items: flex-start;
  5. justify-content: space-between;
  6. gap: 16px;
  7. margin-bottom: 14px;
  8. @media (max-width: 768px) {
  9. flex-direction: column;
  10. gap: 12px;
  11. }
  12. }
  13. &__info {
  14. flex: 1;
  15. min-width: 0;
  16. }
  17. &__title {
  18. font-size: 1.5rem;
  19. font-weight: 700;
  20. margin: 0;
  21. line-height: 1.3;
  22. }
  23. &__desc {
  24. color: var(--text-muted);
  25. font-size: 0.875rem;
  26. margin-top: 4px;
  27. }
  28. &__actions {
  29. display: flex;
  30. gap: 8px;
  31. flex-shrink: 0;
  32. align-items: center;
  33. }
  34. }
  35. .crew-tabs {
  36. display: flex;
  37. gap: 0;
  38. border-bottom: 1px solid var(--border-default);
  39. margin-bottom: 24px;
  40. @media (max-width: 768px) {
  41. overflow-x: auto;
  42. -webkit-overflow-scrolling: touch;
  43. &::-webkit-scrollbar {
  44. display: none;
  45. }
  46. }
  47. &__item {
  48. padding: 14px 24px;
  49. border: none;
  50. background: none;
  51. cursor: pointer;
  52. font-size: 0.875rem;
  53. font-weight: 500;
  54. color: var(--text-muted);
  55. border-bottom: 3px solid transparent;
  56. margin-bottom: -1px;
  57. transition: color 0.15s;
  58. white-space: nowrap;
  59. letter-spacing: 0.01em;
  60. &:first-of-type {
  61. padding-left: 0;
  62. }
  63. &:hover {
  64. color: var(--text-primary);
  65. }
  66. &--active {
  67. color: var(--text-primary);
  68. font-weight: 600;
  69. border-bottom-color: hsl(var(--foreground));
  70. }
  71. }
  72. &__content {
  73. min-height: 200px;
  74. }
  75. }
  76. .crew-members {
  77. &__toolbar {
  78. display: flex;
  79. justify-content: space-between;
  80. align-items: center;
  81. margin-bottom: 0;
  82. @media (max-width: 768px) {
  83. align-items: flex-start;
  84. gap: 8px;
  85. }
  86. }
  87. &__subtitle {
  88. font-size: 1rem;
  89. font-weight: 600;
  90. margin: 0;
  91. }
  92. &__actions {
  93. display: flex;
  94. gap: 8px;
  95. }
  96. .studio-page__table-wrap {
  97. @media (max-width: 768px) {
  98. overflow-x: auto;
  99. }
  100. }
  101. .studio-page__table {
  102. @media (max-width: 768px) {
  103. min-width: 640px;
  104. }
  105. }
  106. }
  107. .crew-invite {
  108. margin-bottom: 24px;
  109. padding: 16px;
  110. border: 1px solid hsl(var(--border));
  111. border-radius: 8px;
  112. @media (min-width: 1024px) {
  113. max-width: 420px;
  114. }
  115. &__legend {
  116. font-size: 0.875rem;
  117. font-weight: 600;
  118. padding: 0 6px;
  119. display: inline-flex;
  120. align-items: center;
  121. gap: 6px;
  122. }
  123. &__help {
  124. display: inline-flex;
  125. align-items: center;
  126. justify-content: center;
  127. width: 18px;
  128. height: 18px;
  129. border: none;
  130. background: transparent;
  131. color: var(--text-muted);
  132. border-radius: 50%;
  133. cursor: help;
  134. padding: 0;
  135. transition: color 0.15s, background 0.15s;
  136. &:hover,
  137. &:focus-visible {
  138. color: var(--text-primary);
  139. background: hsl(var(--muted));
  140. outline: none;
  141. }
  142. }
  143. &__body {
  144. display: flex;
  145. gap: 8px;
  146. align-items: center;
  147. @media (max-width: 768px) {
  148. flex-direction: column;
  149. }
  150. }
  151. &__input {
  152. flex: 1;
  153. font-family: monospace;
  154. font-size: 1rem;
  155. font-weight: 600;
  156. letter-spacing: -1px;
  157. @media (max-width: 768px) {
  158. width: 100%;
  159. }
  160. }
  161. &__actions {
  162. display: flex;
  163. gap: 8px;
  164. flex-shrink: 0;
  165. @media (max-width: 768px) {
  166. width: 100%;
  167. > button {
  168. flex: 1;
  169. }
  170. }
  171. }
  172. }
  173. .member-search {
  174. position: relative;
  175. &__input {
  176. width: 100%;
  177. padding: 8px 12px;
  178. border: 1px solid var(--border-default);
  179. border-radius: 6px;
  180. font-size: 0.875rem;
  181. background: var(--bg-page);
  182. color: var(--text-primary);
  183. }
  184. &__results {
  185. position: absolute;
  186. top: 100%;
  187. left: 0;
  188. right: 0;
  189. z-index: 10;
  190. background: var(--bg-page);
  191. border: 1px solid var(--border-default);
  192. border-radius: 6px;
  193. max-height: 240px;
  194. overflow-y: auto;
  195. margin-top: 4px;
  196. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  197. }
  198. &__item {
  199. display: flex;
  200. align-items: center;
  201. gap: 10px;
  202. padding: 8px 12px;
  203. cursor: pointer;
  204. border: none;
  205. background: none;
  206. width: 100%;
  207. text-align: left;
  208. font: inherit;
  209. color: var(--text-primary);
  210. &:hover {
  211. background: hsl(var(--accent));
  212. }
  213. }
  214. &__thumb {
  215. width: 32px;
  216. height: 32px;
  217. border-radius: 50%;
  218. background: hsl(var(--muted));
  219. object-fit: cover;
  220. }
  221. &__info {
  222. flex: 1;
  223. min-width: 0;
  224. }
  225. &__name {
  226. font-weight: 500;
  227. font-size: 0.875rem;
  228. }
  229. &__email {
  230. font-size: 0.75rem;
  231. color: var(--text-muted);
  232. overflow: hidden;
  233. text-overflow: ellipsis;
  234. white-space: nowrap;
  235. }
  236. &__channel {
  237. font-size: 0.75rem;
  238. color: hsl(var(--primary));
  239. display: flex;
  240. align-items: center;
  241. gap: 6px;
  242. flex-wrap: wrap;
  243. }
  244. &__handle {
  245. color: var(--text-muted);
  246. font-weight: 500;
  247. }
  248. }
  249. // ── 위젯 설정 탭 ──────────────────────────────────
  250. .crew-widget {
  251. // 활성 토글 스위치
  252. &__active-toggle {
  253. position: relative;
  254. display: inline-flex;
  255. align-items: center;
  256. width: 42px;
  257. height: 22px;
  258. padding: 2px;
  259. border: 1px solid hsl(var(--border));
  260. border-radius: 999px;
  261. background: hsl(var(--muted));
  262. cursor: pointer;
  263. transition: background 0.18s, border-color 0.18s;
  264. &-knob {
  265. width: 16px;
  266. height: 16px;
  267. border-radius: 50%;
  268. background: #fff;
  269. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  270. transition: transform 0.18s;
  271. }
  272. &--on {
  273. background: hsl(142 71% 45%);
  274. border-color: hsl(142 71% 45%);
  275. .crew-widget__active-toggle-knob {
  276. transform: translateX(20px);
  277. }
  278. }
  279. &--busy {
  280. opacity: 0.7;
  281. cursor: progress;
  282. }
  283. &:disabled {
  284. cursor: not-allowed;
  285. &:not(.crew-widget__active-toggle--busy) {
  286. opacity: 0.6;
  287. }
  288. }
  289. &:not(:disabled):hover {
  290. border-color: hsl(142 71% 45%);
  291. }
  292. }
  293. .studio-page__table-wrap {
  294. @media (max-width: 768px) {
  295. overflow-x: auto;
  296. }
  297. }
  298. .studio-page__table {
  299. @media (max-width: 768px) {
  300. min-width: 640px;
  301. }
  302. }
  303. }
  304. // ── 세션 탭 ────────────────────────────────────
  305. .session-active {
  306. margin-bottom: 32px;
  307. &__card {
  308. border: 1px solid var(--border-default);
  309. border-radius: 8px;
  310. padding: 20px;
  311. background: hsl(var(--card));
  312. @media (max-width: 768px) {
  313. padding: 14px;
  314. }
  315. }
  316. &__top {
  317. display: flex;
  318. justify-content: space-between;
  319. align-items: center;
  320. margin-bottom: 16px;
  321. @media (max-width: 768px) {
  322. flex-direction: column;
  323. align-items: flex-start;
  324. gap: 10px;
  325. }
  326. }
  327. &__info {
  328. display: flex;
  329. align-items: center;
  330. gap: 12px;
  331. @media (max-width: 768px) {
  332. flex-wrap: wrap;
  333. }
  334. }
  335. &__session-title {
  336. font-size: 1.1rem;
  337. font-weight: 600;
  338. }
  339. &__stats {
  340. display: flex;
  341. gap: 24px;
  342. margin-bottom: 20px;
  343. padding: 12px 16px;
  344. background: hsl(var(--accent));
  345. border-radius: 6px;
  346. @media (max-width: 768px) {
  347. flex-direction: column;
  348. gap: 12px;
  349. }
  350. }
  351. &__stat {
  352. text-align: center;
  353. @media (max-width: 768px) {
  354. display: flex;
  355. align-items: center;
  356. justify-content: space-between;
  357. text-align: left;
  358. }
  359. &-value {
  360. font-size: 1.5rem;
  361. font-weight: 700;
  362. color: hsl(var(--primary));
  363. @media (max-width: 768px) {
  364. font-size: 1.25rem;
  365. }
  366. }
  367. &-label {
  368. font-size: 0.75rem;
  369. color: var(--text-muted);
  370. margin-top: 2px;
  371. @media (max-width: 768px) {
  372. margin-top: 0;
  373. }
  374. }
  375. }
  376. .studio-page__table-wrap {
  377. @media (max-width: 768px) {
  378. overflow-x: auto;
  379. }
  380. }
  381. .studio-page__table {
  382. @media (max-width: 768px) {
  383. min-width: 480px;
  384. }
  385. }
  386. }
  387. .session-consents {
  388. margin-bottom: 16px;
  389. &__title {
  390. font-size: 0.875rem;
  391. font-weight: 600;
  392. margin-bottom: 8px;
  393. }
  394. &__list {
  395. display: flex;
  396. flex-wrap: wrap;
  397. gap: 8px;
  398. @media (max-width: 768px) {
  399. gap: 6px;
  400. }
  401. }
  402. &__item {
  403. display: flex;
  404. align-items: center;
  405. gap: 6px;
  406. padding: 6px 12px;
  407. border-radius: 20px;
  408. font-size: 0.875rem;
  409. border: 1px solid var(--border-default);
  410. &--consented {
  411. background: hsl(var(--primary) / 0.1);
  412. border-color: hsl(var(--primary) / 0.3);
  413. }
  414. &--pending {
  415. background: hsl(var(--accent));
  416. }
  417. }
  418. &__icon {
  419. font-size: 0.875rem;
  420. }
  421. }
  422. .session-start {
  423. border: 2px dashed var(--border-default);
  424. border-radius: 8px;
  425. padding: 32px;
  426. text-align: center;
  427. margin-bottom: 0;
  428. @media (max-width: 768px) {
  429. padding: 20px;
  430. }
  431. &__title {
  432. font-size: 1.1rem;
  433. font-weight: 600;
  434. margin-bottom: 16px;
  435. }
  436. &__form {
  437. display: flex;
  438. gap: 12px;
  439. justify-content: center;
  440. align-items: center;
  441. max-width: 480px;
  442. margin: 0 auto;
  443. @media (max-width: 768px) {
  444. flex-direction: column;
  445. }
  446. }
  447. &__input {
  448. flex: 1;
  449. padding: 8px 12px;
  450. font-size: 0.875rem;
  451. @media (max-width: 768px) {
  452. width: 100%;
  453. }
  454. }
  455. }
  456. .session-history {
  457. &__title {
  458. font-size: 1rem;
  459. font-weight: 600;
  460. margin-bottom: 16px;
  461. }
  462. .studio-page__table-wrap {
  463. @media (max-width: 768px) {
  464. overflow-x: auto;
  465. }
  466. }
  467. .studio-page__table {
  468. @media (max-width: 768px) {
  469. min-width: 580px;
  470. }
  471. }
  472. }
  473. // ── 멤버 아바타 ─────────────────────────────────
  474. .member-row {
  475. &__thumb {
  476. display: inline-flex;
  477. width: 28px;
  478. height: 28px;
  479. vertical-align: middle;
  480. margin-right: 8px;
  481. }
  482. &__online-dot {
  483. display: inline-block;
  484. width: 10px;
  485. height: 10px;
  486. border-radius: 50%;
  487. background: var(--text-muted);
  488. vertical-align: middle;
  489. &--on {
  490. background: var(--color-success);
  491. box-shadow: 0 0 0 2px hsl(142 71% 45% / 0.18);
  492. }
  493. }
  494. }